import Main from "@/components/main";

export default [
  {
    path: "/operate",
    name: "operate",
    meta: {
      icon: "logo-buffer",
      title: "设备运营"
    },
    component: Main,
    children: [
      // {
      //   path: "/big-map",
      //   name: "big-map",
      //   meta: {
      //     icon: "logo-buffer",
      //     title: "大屏监控"
      //   },
      //   component: resolve =>
      //     void require([
      //       "@/view/operate/big-screen-map/big-screen-map.vue"
      //     ], resolve)
      // },
      {
        path: "/alarm",
        name: "alarm",
        meta: {
          icon: "logo-buffer",
          title: "报警"
        },
        component: resolve =>
          void require(["@/view/operate/alarm/alarm.vue"], resolve)
      },
      {
        path: "/realTime-data",
        name: "realTime-data",
        meta: {
          icon: "logo-buffer",
          title: "实时数据"
        },
        component: resolve =>
          void require([
            "@/view/operate/realTime-data/realTimeData.vue"
          ], resolve)
      },
      {
        path: "/his-data",
        name: "his-data",
        meta: {
          icon: "logo-buffer",
          title: "历史数据"
        },
        component: resolve =>
          void require(["@/view/operate/his-data/hisData.vue"], resolve)
      },
      {
        path: "/bar-device",
        name: "bar-device",
        meta: {
          icon: "logo-buffer",
          title: "高速护栏设备"
        },
        component: resolve =>
          void require(["@/view/operate/bar-device/deviceTable.vue"], resolve)
      },
      {
        path: "/params-config",
        name: "params-config",
        meta: {
          icon: "logo-buffer",
          title: "工作参数设置"
        },
        component: resolve =>
          void require([
            "@/view/operate/params-config/paramsConfig.vue"
          ], resolve)
      }
    ]
  }
];
